<?php 
header("content-type:text/html;charset=utf-8");
session_start();
define("ROOT",dirname(__FILE__));
define("SURL","http://".$_SERVER['SERVER_NAME'].'/shoptestPHP');
set_include_path(".".PATH_SEPARATOR.ROOT."/lib".PATH_SEPARATOR.ROOT."/core".PATH_SEPARATOR.ROOT."/config".PATH_SEPARATOR.get_include_path());
require_once "mysql.func.php";
require_once "img.func.php";
require_once "string.func.php";
require_once "common.func.php";
require_once "page.func.php";
require_once "upload.func.php";
require_once "configs.php";
require_once "admin.inc.php";
require_once "shop.inc.php";
connect();
?>